package com.kongjs.application.service;

import com.kongjs.application.model.dto.QueryMenuDTO;
import com.kongjs.application.model.dto.SaveMenuDTO;
import com.kongjs.application.model.dto.MenuExistsDTO;
import com.kongjs.application.model.dto.UpdateMenuDTO;
import com.kongjs.application.model.entity.Menus;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.access.prepost.PreAuthorize;


import java.io.Serializable;
import java.util.List;


public interface IMenusService extends IService<Menus> {

    boolean save(SaveMenuDTO dto);


    boolean remove(Serializable id);


    boolean update(UpdateMenuDTO dto);


    List<QueryMenuDTO> queryList();


    List<QueryMenuDTO> trees();


    boolean exists(MenuExistsDTO dto);


}
